/*
 * @Description:
 * @Author:Huang Xin Ming
 * @Date:2024-11-05 17:03:34
 * @LastEditors:Huang Xin Ming
 * @LastEditTime:2024-11-11 13:44:17
 */
import { createSSRApp } from "vue";
import App from "./App.vue";
// pinia
import store from '@/store/index'
// 路由拦截
import { routeInterceptor } from "@/utils/route"

// 修改wot-ui样式
import '@/style/wot-ui.scss'
// 全局样式
import '@/style/index.scss'

export function createApp() {
  const app = createSSRApp(App);
  app.use(store)
  app.use(routeInterceptor)
  return {
    app,
  };
}
